class CreateSystems < ActiveRecord::Migration
  def self.up
    create_table :systems do |t|
      t.string :name
      t.integer :hd_number
      t.integer :hip_number
      t.float :mass
      t.float :velocity
      t.float :effective_temperature
      t.string :reference
      t.string :created_by

      t.timestamps
    end
  end

  def self.down
    drop_table :systems
  end
end
